# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Contributor: Firmicus <francois.archlinux.org> 

pkgname=ttf-arphic-ukai
pkgver=0.2.20080216.2
pkgrel=2
pkgdesc='CJK Unicode font Kaiti style'
url='https://www.freedesktop.org/wiki/Software/CJKUnifonts'
license=('custom:Arphic_Public_License')
arch=('any')
source=("https://deb.debian.org/debian/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_$pkgver.orig.tar.bz2")
sha512sums=('7f341556e4d70f3c8ce894ef06d99d2261ecf1e0983c32ae5883adf767995e8cbf40a1eaec48f6ee7a7fb57535443e4c35d6dec2e1493b9521b7a6544705f4cf')

package() {
  cd fonts-arphic-ukai-$pkgver
  install -D -m644 ukai.ttc "${pkgdir}"/usr/share/fonts/TTF/ukai.ttc
  install -D -m644 license/english/ARPHICPL.TXT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
